package com.ruoyi.eamp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * 库房操作记录对象 eamp_sr_log
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class EampSrLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志id */
    private Long logId;

    /** 日志创建人 */
    @Excel(name = "日志创建人")
    private Long logOperateBy;

    /** 日志创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "日志创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime logOperateTime;

    /** 日志操作名称 */
    @Excel(name = "日志操作名称")
    private String logMethodName;

    /** 库房id
 */
    @Excel(name = "库房id ")
    private Long logSrId;

    /** 参试设备id */
    @Excel(name = "参试设备id")
    private Long logReId;

    /** 日志操作 */
    @Excel(name = "日志操作")
    private Long delFlg;

    public EampSrLog() {
    }

    public EampSrLog(Long logId, Long logOperateBy, LocalDateTime logOperateTime, String logMethodName, Long logSrId, Long logReId, Long delFlg) {
        this.logId = logId;
        this.logOperateBy = logOperateBy;
        this.logOperateTime = logOperateTime;
        this.logMethodName = logMethodName;
        this.logSrId = logSrId;
        this.logReId = logReId;
        this.delFlg = delFlg;
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public Long getLogOperateBy() {
        return logOperateBy;
    }

    public void setLogOperateBy(Long logOperateBy) {
        this.logOperateBy = logOperateBy;
    }

    public LocalDateTime getLogOperateTime() {
        return logOperateTime;
    }

    public void setLogOperateTime(LocalDateTime logOperateTime) {
        this.logOperateTime = logOperateTime;
    }

    public String getLogMethodName() {
        return logMethodName;
    }

    public void setLogMethodName(String logMethodName) {
        this.logMethodName = logMethodName;
    }

    public Long getLogSrId() {
        return logSrId;
    }

    public void setLogSrId(Long logSrId) {
        this.logSrId = logSrId;
    }

    public Long getLogReId() {
        return logReId;
    }

    public void setLogReId(Long logReId) {
        this.logReId = logReId;
    }

    public Long getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Long delFlg) {
        this.delFlg = delFlg;
    }
}
